package com.lindroy.androidplayer.logic.model.bean

import com.kunminx.linkage.bean.BaseGroupedItem

/**
 * @author Lin
 * @date 2022/1/27
 * @function
 */
class NavigationIndexGroupItemBean : BaseGroupedItem<NavigationIndexGroupItemBean.ItemInfo> {

    constructor(groupName: String) : super(true, groupName)

    constructor(groupName: String, itemName: String, link: String) : super(
        ItemInfo(
            itemName,
            groupName,
            link
        )
    )

    data class ItemInfo(val itemName: String, val groupName: String, val link: String) :
        BaseGroupedItem.ItemInfo(itemName, groupName)
}